<%@ page contentType="text/html; charset=UTF-8" %>

<!DOCTYPE html> 

<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>


<html lang="en">

<jsp:include page="fragments/headTag.jsp"/>

<body>
<div class="container">
    <jsp:include page="fragments/bodyHeader.jsp"/>
    <h2><fmt:message key="welcome"/></h2>
    <p>欢迎使用商场后台管理系统！</p>
    
   	<spring:url value="/company/list.html" var="listCompaniesUrl"/>
   	<spring:url value="/company/new.html" var="newCompanyUrl"/>
   	<spring:url value="/mall/list.html" var="listMallsUrl"/>
   	<spring:url value="/store/list.html" var="listStoresUrl"/>
   	<spring:url value="/location/list.html" var="listLocationsUrl"/>
   	<spring:url value="/location/new.html" var="newLocationUrl"/>
   	<spring:url value="/brand/list.html" var="listBrandsUrl"/>
   	<spring:url value="/brand/new.html" var="newBrandUrl"/>
   	
    <ol>
    <li><a href="${fn:escapeXml(listCompaniesUrl)}">商业机构列表</a></li>
    <li><a href="${fn:escapeXml(newCompanyUrl)}">新建商业机构</a></li>

    <li><a href="${fn:escapeXml(listMallsUrl)}">商场列表</a></li>
    
    <li><a href="${fn:escapeXml(listStoresUrl)}">商铺列表</a></li>
    
    <li><a href="${fn:escapeXml(listLocationsUrl)}">铺位列表</a></li>
    <li><a href="${fn:escapeXml(newLocationUrl)}">新建铺位</a></li>
    
    <li><a href="${fn:escapeXml(listBrandsUrl)}">品牌列表</a></li>
    <li><a href="${fn:escapeXml(newBrandUrl)}">新建品牌</a></li>
    
    </ol>
    <jsp:include page="fragments/footer.jsp"/>

</div>
</body>

</html>
